package com.xuln.common.util;


/**
 * 分页查询属性
 * 
 * @author 徐炉南 xinlunan487@163.com
 */
public class PaginationFormUtil {

	private int currentIndex;

	private int nextPageIndex;

	private int previousIndex;

	private int pageSize = PaginationSupport.PAGESIZE;

	/**
	 * @return the nextPageIndex
	 */
	public final int getNextPageIndex() {
		return nextPageIndex;
	}

	/**
	 * @return the previousIndex
	 */
	public final int getPreviousIndex() {
		return previousIndex;
	}

	/**
	 * @param nextPageIndex the nextPageIndex to set
	 */
	public final void setNextPageIndex(int nextPageIndex) {
		this.nextPageIndex = nextPageIndex;
	}

	/**
	 * @param previousIndex the previousIndex to set
	 */
	public final void setPreviousIndex(int previousIndex) {
		this.previousIndex = previousIndex;
	}

	/**
	 * @return the pageSize
	 */
	public final int getPageSize() {
		return pageSize;
	}

	/**
	 * @param pageSize the pageSize to set
	 */
	public final void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	/**
	 * @return the currentIndex
	 */
	public int getCurrentIndex() {
		return currentIndex;
	}

	/**
	 * @param currentIndex the currentIndex to set
	 */
	public void setCurrentIndex(int currentIndex) {
		this.currentIndex = currentIndex;
	}
}
